<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

    <title>支付订单</title>

    <link rel="stylesheet" href="/movie/web/Public/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="/movie/web/Public/jquery-weui/css/jquery-weui.css">


    <link rel="stylesheet" href="/movie/web/Public/bootstrap/css/bootstrap.min.css">

    <script src="/movie/web/Public/jquery-weui/lib/jquery-2.1.4.js"></script>
    <script src="/movie/web/Public/jquery-weui/js/jquery-weui.js"></script>

    <script src="/movie/web/Public/jquery-weui/js/swiper.js"></script>

    <!--bootstrap-->
    <script src="/movie/web/Public/bootstrap/js/bootstrap.min.js"></script>

    <!--artDialog-->
    <link href="/movie/web/Public/static/art-dialog/css/ui-dialog.css" rel="stylesheet"/>
    <script src="/movie/web/Public/static/art-dialog/dist/dialog-min.js"></script>

    <!--RainJS-->
    <link href="/movie/web/Public/static/pfinal/css/base.css" rel="stylesheet"/>
    <script src="/movie/web/Public/static/pfinal/pfinal.js"></script>
    <style>
        .weui_cell:before {
            content: " ";
            position: absolute;
            left: 0;
            right: 0;
            width:auto;
            height: 1px;
            border-top: 1px solid #D9D9D9;
            color: #D9D9D9;
        }
    </style>
</head>
<body>

<!--响应式布局图片-->
<style>
    .center-block {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

    .img-responsive {
        display: block;
        max-width: 100%;
        height: auto;
    }
</style>
<!-- <img src="img/banner1.png" class="img-responsive center-block" alt="Responsive image"> -->
<style>
    .weui_cells:before{
        border:none;
        width:0px;
    }
    .time{
        width: 100%;
        height: 50px;
        background: #4A4A4A;
    }
    .pane{
        width: 100%;
        height: 250px;
        background: #F2F1F6;
    }

     .weui-row {
         margin-top: 10px;
     }
    [class*="weui-col-"] {
        border: 1px solid #ccc;
        height: 40px;
        line-height: 40px;
        text-align: center;
    }
</style>

<div class="time">
    <p style="color:#939393;font-size: 16px;">
       <!-- <span style="display:block;width: 100%;height: 50px;line-height: 50px;text-align:center;">支付时间还剩 <b style="color:#fff;">9:53</b>
</span>-->
    </p>
</div>
<div class="pane">
    <p style="padding-top:10px;"><span style="display:block;width: 100%;height: 50px;line-height: 50px;text-align:center;font-size: 20px;"><?php echo ($res["mname"]); ?> <?php echo ($res["mlang"]); ?></span></p>
    <p><span style="display:block;width: 100%;height: 20px;line-height: 20px;text-align:center;font-size: 16px;">今天<?php echo date('m月d日 H:i',$res['stime']);?></span></p>
    <p><span style="display:block;width: 100%;height: 20px;line-height: 20px;text-align:center;font-size: 16px;"><?php echo ($res["rname"]); ?></span></p>
    <div class="weui-row" style="padding-left: 20px;padding-right: 20px;padding-top: 10px;margin-bottom: 20px;">
            <?php if(is_array($seat)): foreach($seat as $key=>$val): ?><div style="margin: 0 auto;" class="weui-col-20">
                            <?php echo ($val['row']); ?>排<?php echo ($val['col']); ?>座
                        </div><?php endforeach; endif; ?>
    </div>

    <ul><li style="display:block;width: 100%;height: 20px;line-height: 20px;text-align:center;font-size: 14px;">* 请仔细核对购票信息，支付后不支持退票</li></ul>
</div>
<div class="bd">
    <div class="weui_cells">
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary">
                <p>手机</p>
            </div>
            <div class="weui_cell_ft">1891234567</div>
        </div>
    </div>
<div class="bd">
    <div class="weui_cells">
         <div class="weui_cell">
             <div class="weui_cell_bd weui_cell_primary">
                <p>票价</p>
             </div>
         <div class="weui_cell_ft">￥<?php echo ($res["oprice"]); ?></div>
    </div>
</div>

<div class='demos-content-padded' style="padding-top: 90px;">
    <div class="bd">
        <div class="weui_cells">
                    <p><span style="display:block;width: 100%;height: 50px;line-height: 50px;text-align:center;font-size: 20px;">实际支付:<b style="color:red;"> ￥<?php echo ($res['oprice']*$num); ?></b></span></p>
        </div>
    <a href="<?php echo U('Person/index');?>" class="weui_btn weui_btn_primary js-cute" style="text-decoration: none;">立即支付</a>
</div>
    <script>
        $(".js-cute").click(function () {

            pFinal.toast("支付成功", function () {
            });
        });
    </script>
</body>
</html>